package sg.edu.nus.iss.cats.form;


/**
     ##############################################################
     WORKSHOP 07 INSTRUCTIONS
     Create a class CourseForm with all the properties 
     appropriate for exchange of the course application information between:
     - the bean class   sg.edu.nus.iss.cats.nodel.CourseApplication
     - the form view    /courseForm.jsp

     Provide get/set methods for all properties.

     Do this in two stages: initially, do not add any validation.
     In the next workshop, you will be able to add external validation 
     by means of Validator,
     for which you will have to subclass this bean appropriately.
     ##############################################################
*/
  

/**
     ##############################################################
     WORKSHOP 08 INSTRUCTIONS
     add external validation by means of Validator,
     for which you will have to subclass this bean appropriately.
     
     the get/set methods are similar to previous exercises
     ##############################################################
*/
  
import org.apache.struts.validator.*;

public class CourseForm extends ValidatorForm {

    protected String  courseId;
    protected String  employeeId;
    protected String  courseName;
    protected String  organiser;
    protected String  fromDate;
    protected String  toDate;
    protected String  fees;
    protected String  gstIncluded;
    protected String  justification;
    protected String  status;

    public void setCourseId (String courseId) {
        this.courseId = courseId;
    }

    public String getCourseId () {
        return courseId;
    }

    public void setEmployeeId (String employeeId) {
        this.employeeId = employeeId;
    }

    public String getEmployeeId () {
        return employeeId;
    }

    public void setCourseName (String courseName) {
        this.courseName = courseName;
    }

    public String getCourseName () {
        return courseName;
    }

    public void setOrganiser (String organiser) {
        this.organiser = organiser;
    }

    public String getOrganiser() {
        return organiser;
    }

    public void setFromDate(String fromDate) {
        this.fromDate = fromDate;
    }

    public  String getFromDate() {
        return fromDate;
    }

    public void setToDate (String  toDate) {
        this.toDate = toDate;
    }

    public String getToDate() {
        return toDate;
    }

    public void setFees (String  fees) {
        this.fees = fees;
    }

    public String getFees () {
        return fees;
    }

    public void setGstIncluded (String  gstIncluded) {
        this.gstIncluded = gstIncluded;
    }

    public String getGstIncluded() {
        return gstIncluded;
    }

    public void setJustification(String justification) {
        this.justification = justification;
    }

    public String getJustification () {
        return justification;
    }

    public void setStatus (String status) {
        this.status = status;
    }

    public String getStatus () {
        return status;
    }

}